package com.quectel.sdk.baidu.text;

import com.quectel.sdk.baidu.BaiduBCEClientBuilder;
import com.quectel.sdk.baidu.model.text.BaiduBCETextResp;
import com.quectel.util.common.JacksonUtils;

/**
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/5/12 9:22
 * @description new java file header...
 */
public class BaiduBCETextTest {

    public static void main(String[] args) {

        BaiduBCETextClient client = BaiduBCEClientBuilder.builder().host("https://aip.baidubce.com").apikey("czLmrsenYevNEfYTQavfTQop").secretKey("pG9xFY2dMpRYH61GwpLrZAuwZvKBqkrG").build(BaiduBCETextClient.class);
        BaiduBCETextResp check = client.check("猜十二生肖?(奔逸绝尘打一个生肖)(一句真言:奔逸绝尘)猜什么动物?<p><p>###040+#加·威·∨·信：【 W855～329 】 为您解--答");
        System.out.println(JacksonUtils.toJsonString(check));
    }
}
